package com.huasan.www.demon.rest.util;


public class Constants {
	
	public static final String VIEWPATH = "/WEB-INF/demon/";
	
	public static final String SUFFIX = ".jsp";
	
	public static String[] FILTER_CLASSES = {
				"com.RestRequestFilter",
				"com.RestResponseFilter"};
	
	public static String ROOT_ID = "";
	
	public static String ROOT_NAME = "";
	
	public static final String JSON_TEMPLATE = "{\"status\":{0},\"data\":{1}, \"msg\":\"{2}\"}";
	
	public static final Integer DURATION = 864000;
	
	public static final Integer DURATION_CLEAR = 0;
	
	//{\"sEcho\":1,\"iTotalRecords\":57,\"iTotalDisplayRecords\":57,\"aaData\":[]}
	
	public static final String[] DATA_TABLE = {"{\"sEcho\":", ",\"iTotalRecords\":", ",\"iTotalDisplayRecords\":", ",\"aaData\":", "}"};
	
	public static final Integer POOL_SIZE = 10;
	
	public static final Long SCAN_TIME = new Long( 60 * 1000 );
	
	public static final Long OFF_TIME = new Long( 2 * 60 * 1000 );
	
	public static final Long MIN_TIME = new Long( 60 * 1000 );
	
	public static final String[] AGENTS = {"nokia", "sony", "ericsson", "mot", "samsung", "htc", "sgh", "lg", "sharp", "sie-",
				      "philips", "panasonic", "alcatel", "lenovo", "iphone", "ipod", "blackberry", "meizu", 
				      "android", "netfront", "symbian", "ucweb", "windowsce", "palm", "operamini", 
				      "operamobi", "opera mobi", "openwave", "nexusone", "cldc", "midp", "wap", "mobile"};
	
	public static final String DATA_TYPE = "wifidemon";
	
	public static final String DATA_REGISTER = "demonregister";
	
}
